<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 500px;
            height: 300px;
        }
        img{
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    <div id="app">
        <!-- <img src="./image/【哲风壁纸】动漫-紫色.png" alt=""> -->
        <div class="box">
            <img v-bind:src="imgUrl" alt="">
            <!-- v-bind:src="imgUrl"可以简写为 :src="imgUrl" -->
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.7.16/dist/vue.js"></script>
    <script>
        const app = new Vue({
            el:'#app',
            data:{
                imgUrl:'./image/【哲风壁纸】动漫-紫色.png'
            }
        })
    </script>
</body>
</html>